<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	<span class="color_red">*</span>科技成果来源
</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="technologicinfo"
	cellspacing="1">
<tr>
		<td align="right" nowrap width="10%">科技成果来源：</td>
		<td  width="90%">
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家重大科技专项的科技成果 " value="01" /><span style="vertical-align: middle;">国家重大科技专项的科技成果 </span></label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家高技术研究发展（863计划）的科技成果" value="02" /><span style="vertical-align: middle;">国家高技术研究发展（863计划）的科技成果</span></label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家重点基础研究发展计划（973计划）的科技成果" value="03" /><span style="vertical-align: middle;">国家重点基础研究发展计划（973计划）的科技成果</span></label><br/>
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家科技支撑计划的科技成果" value="04" /><span style="vertical-align: middle;">国家科技支撑计划的科技成果</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="省级科技支撑计划的科技成果" value="05" /><span style="vertical-align: middle;">省级科技支撑计划的科技成果</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家科技进步二等奖以上的科技成果" value="06" /><span style="vertical-align: middle;">国家科技进步二等奖以上的科技成果</span></label><br/>
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="省级科技进步一等奖科技成果" value="07" /><span style="vertical-align: middle;">省级科技进步一等奖科技成果</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="国家技术发明一等奖科技成果" value="08" /><span style="vertical-align: middle;">国家技术发明一等奖科技成果</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<label> <input type="checkbox" class="do"  style="vertical-align: middle;" name="technologic_acieve" label="无锡市确定支持的其他重大科技成果" value="09" /><span style="vertical-align: middle;">无锡市确定支持的其他重大科技成果</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	    <input type="hidden" name="proposal/technologic_acieve_value" id="technologic_acieve_value" class="required" value="<x:out select="$xmlData/data/proposal/technologic_acieve_value" />" label="科技成果来源" /> 
		<input type="hidden" name="proposal/technologic_acieve_name" id="technologic_acieve_name" value="<x:out select="$xmlData/data/proposal/technologic_acieve_name" />" /></td>
	</tr>
	</table>
	<div class="t_bar">
	<span class="color_red">*</span>项目依托的主要科技成果情况
</div>
	<table  id="tblachievements" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="35%">科技成果名称</th>
						<th class="TblHead" align="center"  width="20%">证书号</th>
						<th class="TblHead" align="center"  width="20%">有效期</th>
						<th class="TblHead" align="center"  width="13%">所有权人</th>
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td>&nbsp;
							<input type="radio" class="radiobutton" name="selachievements" >
						</td>
						<td align="center">
							<span name="achievements|achievement[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" id="achievements_name_[0]" maxlength="100" name="achievements|achievement[0]|achievement_name" label="科技成果名称" value="" class="required input_css" style="width: 240px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_prono_[0]" maxlength="50" name="achievements|achievement[0]|achievement_prono"  label="证书号" value="" class="required input_css" style="width: 150px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_valid_[0]" maxlength="50"  name="achievements|achievement[0]|achievement_valid" label="有效期" value="" class="required input_css" style="width: 150px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_ownpsn_[0]" maxlength="50"  name="achievements|achievement[0]|achievement_ownpsn" label="所有权人" value="" class="required input_css" style="width: 80px;"/>
						</td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/achievements/achievement" var="achievement">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="cnter">&nbsp;
							<input type="radio" class="radiobutton" name="selachievements" >
						</td>
						<td align="center">
							<span   name="achievements/achievement[${flag}${index}]@seq_no" ><x:out select="$achievement/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" id="achievements_name_[${flag}${index}]" maxlength="100" name="achievements/achievement[${flag}${index}]/achievement_name" label="科技成果名称" value="<x:out select="$achievement/achievement_name"/>" class="required input_css" style="width: 240px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_prono_[${flag}${index}]" maxlength="50" name="achievements/achievement[${flag}${index}]/achievement_prono"  label="证书号" value="<x:out select="$achievement/achievement_prono"/>" class="required input_css" style="width: 150px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_valid_[${flag}${index}]" maxlength="50"  name="achievements/achievement[${flag}${index}]/achievement_valid" label="有效期" value="<x:out select="$achievement/achievement_valid"/>" class="required input_css" style="width: 150px;"/>
						</td>
						<td align="center">
							<input type="text" id="achievements_ownpsn_[${flag}${index}]" maxlength="50"  name="achievements/achievement[${flag}${index}]/achievement_ownpsn" label="所有权人" value="<x:out select="$achievement/achievement_ownpsn"/>" class="required input_css" style="width: 80px;"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
					</table>
					<br>

					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblachievements',10,'项目依托的主要科技成果情况最多只能填写10条')){addNewRow('tblachievements');showDateTag('tblachievements');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblachievements','selachievements')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblachievements','selachievements')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblachievements','项目依托的主要科技成果情况');">
					</td></tr>
	</table>

